<?php
    // +----------------------------------------------------------------------
    // | 安全配置文件
    // +----------------------------------------------------------------------
    // | Copyright (c) 2015-2021 http://www.yicmf.com, All rights reserved.
    // +----------------------------------------------------------------------
    // | Author: 微尘 <yicmf@qq.com>
    // +----------------------------------------------------------------------

    use think\facade\Route;

    $safe = [
                // 开启安全入口
                'open' => '{$open}',
                // 当前入口地址
                'url' => '{$url}'
          ];
    Route::rule($safe['url'], 'ucenter/Foreign/login')->name('login_admin')->append(['module' => 'admin']);
    return $safe;